import { createRouter, createWebHistory } from 'vue-router'
import userRoutes from '@/router/modules/userRoutes'
import blogRoutes from '@/router/modules/blogRoutes'

const routes = [
  ...userRoutes,
  ...blogRoutes
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes,
})

export default router
